<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import = "br.com.merks.Util" %>
<%@ page isELIgnored="false" %>
<graph  caption=""   decimalPrecision="2"
				yAxisMaxValue="100"
				yAxisMinValue="0"
                subCaption="" 
                numdivlines="5" 
                lineThickness="1" 
                showValues="0" 
                numVDivLines="10" 
                formatNumberScale="1" 
                rotateNames="1" 
                anchorRadius="2" 
                anchorBgAlpha="50" 
                showAlternateVGridColor="1" 
                anchorAlpha="100" 
                animation="1" 
                limitsDecimalPrecision="2" 
                divLineDecimalPrecision="0" 
              	numberSuffix="%"
              	limitsDecimalPrecision="2"
              
                bgColor="FFFFFF">
<categories>
        <category name="0"/>
        <category name="10"/>
        <category name="20"/>
        <category name="30"/>
        <category name="40"/>
        <category name="50"/>
        <category name="60"/>
        <category name="70"/>
        <category name="80"/>
        <category name="90"/>
        <category name="100"/>
</categories>
<fmt:setLocale value="en" /> 
<c:forEach var="item" items="${report}">
	<c:set var="var" value="${item.marketAnswerId}" scope="request"/>

	<dataset seriesName="${answersMap[var]}" color="#<% out.print(Util.getRandomHexColor()); %>" anchorBorderColor="#<% out.print(Util.getRandomHexColor()); %>">
	<c:forEach var="trade" items="${item.trades}">
	       <set value="<fmt:formatNumber type="NUMBER" minFractionDigits="0" maxFractionDigits="2" value="${trade.merkPrice}"/>"/>
	</c:forEach>		
	</dataset>
</c:forEach>
</graph>